package net.zjitc.pojo;

import javax.xml.crypto.Data;
import java.util.Date;

/**
 * @Author admin
 * @Date 2019/3/12 8:09
 */
public class Product {
    private int uid;
    private String pname;
    private double marketprice;
    private double shopprice;
    private String iamge;
    private String pdesc;
    private Date datetime;
    private int cid;

    public Product() {
    }

    public int getUid() {
        return uid;
    }

    public void setUid(int uid) {
        this.uid = uid;
    }

    public String getPname() {
        return pname;
    }

    public void setPname(String pname) {
        this.pname = pname;
    }

    public double getMarketprice() {
        return marketprice;
    }

    public void setMarketprice(double marketprice) {
        this.marketprice = marketprice;
    }

    public double getShopprice() {
        return shopprice;
    }

    public void setShopprice(double shopprice) {
        this.shopprice = shopprice;
    }

    public String getIamge() {
        return iamge;
    }

    public void setIamge(String iamge) {
        this.iamge = iamge;
    }

    public String getPdesc() {
        return pdesc;
    }

    public void setPdesc(String pdesc) {
        this.pdesc = pdesc;
    }

    public Date getDatetime() {
        return datetime;
    }

    public void setDatetime(Date datetime) {
        this.datetime = datetime;
    }

    public int getCid() {
        return cid;
    }

    public void setCid(int cid) {
        this.cid = cid;
    }

    public Product(int uid, String pname, double marketprice, double shopprice, String iamge, String pdesc, Date datetime, int cid) {
        this.uid = uid;
        this.pname = pname;
        this.marketprice = marketprice;
        this.shopprice = shopprice;
        this.iamge = iamge;
        this.pdesc = pdesc;
        this.datetime = datetime;
        this.cid = cid;
    }
}
